package com.example.demo.dao;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * ClassName : com.example.demo.dao.UserMapper
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2022/6/11 20:22
 */
@Mapper
public interface UserMapper {

    List<User> list();

    int save(User user);

    int update(User user);

    int delete(String id);
}
